package com.xyh.run;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@SpringBootApplication
@RestController
@MapperScan(value = "com.xyh.**.dao")
public class  XyhSecurityDemoApplication {
    /**
     * spring security 演示项目简单演示
     *

     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(XyhSecurityDemoApplication.class, args);

    }
    @GetMapping("/webDemo")
    public void webDemo(){
        System.out.println("1");
    }

}
